#ifndef _OCPP_GridBinReader_H__
#define _OCPP_GridBinReader_H__

#include "GridFileReader.h"
#include "CapBinDataReader.h"

namespace OCPP
{
	namespace Volume
	{

		class _volumeExport GridBinReader : public GridFileReader
		{
		public:
			GridBinReader() {}
			virtual bool open(String fileName);
			virtual GridVariablePtr findVariable(String name);
			virtual GridDataReaderPtr getDataReader(GridShape origin, GridShape shape, GridVariablePtr variable);

			std::shared_ptr<std::ifstream> ifsStream;
			CapBinDataReaderPtr gridDataReaderPtr;
		};
	}
}

#endif // !_OCPP_NetcdfFileReader_H__
